package edu.must.uh.util;

import javax.sql.DataSource;

public class SqlUtils  { 
    
    
  /*  public static DataSource  getMySqlDataSource() {
        DataSource ds = SqlMyDataSource.getInstance();
        return ds ; 
    }
    
    public static DataSource  getMsSqlDataSource() {
        DataSource ds = SqlMsDataSource.getInstance();
        return ds ; 
    }*/
   
    public static QueryRunnerHelper  getMySqlInstance() {
        DataSource ds = SqlMyDataSource.getInstance();
        QueryRunnerHelper  qr = new QueryRunnerHelper(ds);        
        return qr ; 
    }
    
    
    public static QueryRunnerHelper  getMsSqlInstance() {
        DataSource ds = SqlMsDataSource.getInstance();
        QueryRunnerHelper qr = new QueryRunnerHelper(ds);  
        return qr;
    }
}
